package com.hyy.lotterysystem.controller.param;

import lombok.Data;

@Data
public class PageParam {

    //当前页
    private Integer currentPage=1;

    //当前页的数量
    private Integer pageSize=10;

    public Integer offset(){
        return (currentPage-1)*pageSize;
    }

}
